quad_convex_random Interface

interface
public subroutine quad_convex_random(seed, xy)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(inout) :: seed

A seed for the random number generator.

real(kind=real64), intent(out) :: xy(2,node_num)

The coordinates of the nodes of the quadrilateral given in counterclockwise order.

Description

Returns a random convex quadrilateral.

The quadrilateral is constrained in that the vertices must all lie with the unit square.